physics_particle_group_delete

Delete a particle group from the physics simulation.

语法:

physics_particle_group_delete(ind)


参数 描述
ind The index (ID) of the particle group to delete.


返回: N/A(无返回值)


描述

With this function you can delete (remove) a particle group from the physics simulation in the current room. The function takes the unique group ID of the group to delete, as returned by the function physics_particle_group_end().


例如:

physics_particle_group_delete(gp1);

The above code will delete all the particles that comprise the group with the ID stored in the variable "gp1" from the simulation.


上一页: Soft Body Particles
下一页: physics_particle_delete
© Copyright YoYo Games Ltd. 2018 All Rights Reserved